package com.greenold.check.domain.Dto;

import java.util.Date;

public class PendingTasksDto {
    //申请单号
    private String code;
    //申请人
    private String applicat;
    //申请人id
    private String applicatId;
    //单据类别
    private Integer type;
    //流程状态
    private Integer status;
    //申请状态  // 1 申请中 2已完成 3已关闭
//    private Integer applyStatus;
    //开始时间
    private Date startTime;
    //结束时间
    private Date endTime;
    //当前页
    private Integer pageNum;
    //每页数量
    private Integer pageSize;
    //操作人
    private  String assigneeId;
    //请求类型 0 待办 1 我的申请
    private Integer reqType;
    //是否处理 0 未处理 1 已处理
    private Integer isHandle;

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getApplicat() {
        return applicat;
    }

    public void setApplicat(String applicat) {
        this.applicat = applicat;
    }

    public String getApplicatId() {
        return applicatId;
    }

    public void setApplicatId(String applicatId) {
        this.applicatId = applicatId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

//    public Integer getApplyStatus() {
//        return applyStatus;
//    }
//
//    public void setApplyStatus(Integer applyStatus) {
//        this.applyStatus = applyStatus;
//    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getAssigneeId() {
        return assigneeId;
    }

    public void setAssigneeId(String assigneeId) {
        this.assigneeId = assigneeId;
    }

    public Integer getReqType() {
        return reqType;
    }

    public void setReqType(Integer reqType) {
        this.reqType = reqType;
    }

    public Integer getIsHandle() {
        return isHandle;
    }

    public void setIsHandle(Integer isHandle) {
        this.isHandle = isHandle;
    }

    @Override
    public String toString() {
        return "PendingTasksDto{" +
                "code='" + code + '\'' +
                ", applicat='" + applicat + '\'' +
                ", applicatId='" + applicatId + '\'' +
                ", type=" + type +
                ", status=" + status +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", assigneeId='" + assigneeId + '\'' +
                ", reqType=" + reqType +
                ", isHandle=" + isHandle +
                '}';
    }
}
